package object;

public class LongDemo {
    public static void main(String[] args) {
        Long max=Long.MAX_VALUE;
        Long min=Long.MIN_VALUE;
        System.out.println("long最大值为："+max+",long最小值为"+min);

        Long i=5l;//自动装箱
        Long i1=Long.valueOf(5l);
        long j=i;//自动拆箱
        long j1=i1.longValue();

        String s="123456";
        long l=Long.parseLong(s);
        System.out.println(l);


    }
}
